Skip to content

fix(HikariCP:6.0.0): resolve test failures #602

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

erguiti-imane
Copy link
Member

What does this PR do?

  • Added GraalVM native agent configuration with conditional mode
  • Included user-code-filter.json
  • Updated reflect-config.json to include HikariConfig#getCredentials and HikariConfig#getExceptionOverride
  • Regenerated GraalVM metadata

Checklist before merging

@erguiti-imane erguiti-imane requested a review from a team as a code owner February 21, 2025 19:06
@dnestoro
Copy link
Member

dnestoro commented Mar 3, 2025

@vjovanov please review this pull request when possible as we are planning to have a new release of reachability metadata (+Native Build Tools) soon.

- Added GraalVM native agent configuration with conditional mode
- Included
- Updated  to include  and
- Regenerated GraalVM metadata
@dnestoro
Copy link
Member

@mhalbritter can you please review this PR as you added initial tests for HikariCP?

@@ -0,0 +1,5 @@
[
{
"name": "jdk.internal.loader.ClassLoaders$PlatformClassLoader"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder why that is needed? Does the test pass without that file?

@@ -0,0 +1,18 @@
[
{
"name": "com.zaxxer.hikari.HikariConfig",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can understand why com.zaxxer.hikaricp.test.driver.CustomDriver has to registered for reflection in tests only. But why is com.zaxxer.hikari.HikariConfig in there? Shouldn't that be in the metadata/com.zaxxer/HikariCP/6.0.0/reflect-config.json file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants